<!-- 消防设施全面检测记录 -->
<template>
	<BaseContainer>
		<aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig">
			<template v-slot:HandleFormDialog="{ row, show }">
				<HandleForm :nowRowData="row" v-if="show" :api="baseConfig.api" @refresh="handleRefresh"></HandleForm>
			</template>
		</aplid-base-crud>
	</BaseContainer>
</template>

<script setup>
import { baseConfig } from './config'
import HandleForm from '@/views/safetySuper/components/HandleForm/index.vue'

const crud = ref(null)
const handleRefresh = (query, visible = false) => {
	nextTick(() => {
		crud.value.refreshChange(query)
	})
}
</script>

<style lang="scss" scoped></style>
